package gui2.g1;

public class ChatMessage {

	private String message;
	private String username;

	public ChatMessage(String message, String username) {
		this.message = message;
		this.username = username;
	}

	public String getMessage() {
		return message;
	}

	public String getUsername() {
		return username;
	}
	
	@Override
	public String toString() {
		return username+":"+message;
	}
}
